package com.studentSystem.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.math.BigDecimal;

@Data
public class Grades {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long studentId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long courseId;
    private BigDecimal grade;
}
